package com.tiger.project.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * OA消息待办已办对象 oainfo
 *
 * @author iot
 * @date 2022-12-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "oainfo对象", description = "OA消息待办已办内容")
public class Oainfo extends BaseEntity {
private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty(value = "内容标题")
    private String title;

    /** 消息地址 */
    @Excel(name = "消息地址")
    @ApiModelProperty(value = "消息地址---小程序")
    private String fileAddress;

    @ApiModelProperty(value = "消息地址--pc")
    private String fileAddressPc;


    /** 发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "发起时间")
    private Date date;

    /** oa消息id */
    @Excel(name = "oa消息id")
    @ApiModelProperty(value = "oa消息id")
    private String oaId;

    /**
     * 公司id
     */
    @ApiModelProperty(value = "公司id")
    private Long companyId;

    @ApiModelProperty(value = "发起人id")
    private String sponsorId;

    @ApiModelProperty(value = "发起人姓名")
    private String sponsorName;

    @ApiModelProperty(value = "发起人头像")
    private String sponsorPortrait;

    @ApiModelProperty(value = "接收人id")
    private String recipientId;


}
